﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="goodlist.aspx.cs" Inherits="goodlist" EnableViewState="false" %>
<!DOCTYPE html>
<html>
<head>
    <title>商品列表</title>
</head>
<body>
    <div>
        <section data-role="page" id="goodslist_main">
            <header data-role="header" style="background:#09f;position:fixed;top:0px;width:100%;left:0px;z-index:999;border-color:#09f;">
                <h1>商品列表</h1>
                <a href="#goodscard" data-load="goodscard.aspx" class="gift_top_btn ui-btn-right" style="float:right;background:#09f;border:0px;box-shadow:none;"><img src="images/car.png" /></a>
            </header>
            
            <div data-role="content" id="goodslist_content" style="margin-top:42px;">
                <div style="height:5px;"></div>
                <ul data-role="listview" data-filter="true">
                    <li style="text-align:center;display:none;" runat="server" id="msg">暂无商品信息</li>
                    <asp:Repeater runat="server" ID="rptGoodList">
                        <ItemTemplate>
                            <li>
                                <a href="#gooddetail" data-load="gooddetail.aspx?MicroGoodsID=<%#Eval("MicroGoodsID") %>" style=" line-height:28px;padding-left:118px;">
                                    <img src="<%#Eval("MicroGoodsPicture") %>" onerror="javascript:this.src='../images/Gift/nogift.jpg'" style="margin-top:10px;margin-left:10px;border-radius:8px;" />
                                    <h3 style="margin-top:0px;margin-bottom:30px;"><%#Eval("MicroGoodsName")%></h3>
                                    <p id="priceInfo" style="margin-bottom:0px;"><%#Convert.ToDecimal(Eval("MicroPrice")).ToString("0.00")%>元<span id="price"><%#Convert.ToInt32(Eval("MicroSalePrice")).ToString("0.00")%>元</span></p>
                                </a>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>


            <footer data-role="footer" data-position="fixed" id="goodslist_footer">
                <div data-role="navbar" id="nav-glyphish-example">
                    <ul>
                        <li><a href="#index" id="A1"><img src="images/business_site_btn.png" /><br/>商家网站</a></li>
                        <li class="footer_active"><a href="#goodlist" id="A2" data-load="goodlist.aspx"><img src="images/02.png" /><br/>商品购买</a></li>
                        <li><a href="#membershipcard" data-load="membershipcard.aspx" id="A3"><img src="images/member_card_btn.png" /><br/>会员卡</a></li>
                        <li><a href="#giftlist" data-load="giftlist.aspx" id="A4" class="ui-btn-active"><img src="images/exchange_btn.png" /><br/>积分兑换</a></li>
                    </ul>
                </div>
            </footer>
        </section>
    </div>
</body>
</html>

